﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OpenPhotoAlbum.Maintainance
{
	public partial class Activities : AlbumPage
	{
		protected override void AppendSiteMapNodes(OpenPhotoAlbum.Controls.AlbumSiteMapProvider provider)
		{
			base.AppendSiteMapNodes(provider);

			provider.AppendSiteMapNode("Maintainance Console", "~/Maintainance/Default.aspx");
			provider.AppendSiteMapNode("Activities", RawUrl);
		}

		protected void btnSearchIp_Click(object sender, EventArgs e)
		{
			gridView.DataSourceID = LinqDataSourceIp.ID;
			gridView.PageIndex = 0;
		}

		protected void btnShowAll_Click(object sender, EventArgs e)
		{
			gridView.DataSourceID = LinqDataSourceAll.ID;
			gridView.PageIndex = 0;
		}
	}
}
